home *** CD-ROM | disk | FTP | other *** search
- property sFileName
- global gsPreviousPath
-
- on mouseUp
- if gsPreviousPath <> EMPTY then
- sPath = baGetFilename("save", gsPreviousPath, sFileName, "MP3|*.mp3", 2, "Save file - " & sFileName, 0, 100, 100)
- else
- sPath = baGetFilename("save", "c:\", sFileName, "MP3|*.mp3", 2, "Save file - " & sFileName, 0, 100, 100)
- end if
- put baCopyFile(the pathName & "audio/" & sFileName, sPath, "IfNotExist")
- sOriginalItemDelimiter = the itemDelimiter
- the itemDelimiter = "\"
- gsPreviousPath = item 1 to the number of items in sPath - 1 of sPath
- the itemDelimiter = sOriginalItemDelimiter
- end
-
- on getPropertyDescriptionList
- description = [:]
- addProp(description, #sFileName, [#default: EMPTY, #format: #string, #comment: "File to copy"])
- return description
- end
-